package com.coolgor.axnut.dao.wechat.qyh;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coolgor.axnut.entity.wechat.qyh.QYHUser;

public interface QYHUserDao {

	QYHUser queryQYHUser(@Param("userid") String userid, @Param("corpid") String corpid);
	
	List<QYHUser> queryQYHUserList(@Param("qyhUserCondition") QYHUser qyhUserCondition,
									@Param("rowIndex") int rowIndex,
									@Param("pageSize") int pageSize);

	int queryQYHUserCount(@Param("qyhUserCondition") QYHUser qyhUserCondition);
	
	int insertQYHUser(QYHUser qyhUser);
	
	int updateQYHUser(QYHUser qyhUser);
	
	int deleteQYHUser(@Param("qyhUserCondition") QYHUser qyhUserCondition);
	
	int batchDeleteQYHUser(List<Long> userIDList);

}
